package nc.ui.so.so012.handestimate;

import nc.bs.framework.common.NCLocator;
import nc.itf.scm.so.so012.IEstimate;
import nc.itf.scm.so.so012.IEstimateQuery;
import nc.vo.scm.pub.session.ClientLink;
import nc.vo.so.so012.SquareTotalVO;
import nc.vo.so.so012.SquareVO;

public class HandEstimateBO_Client {

	private static String beanName = IEstimateQuery.class.getName();
	
	private static String beanName1 = IEstimate.class.getName();

	public static void batchHandEstimate(SquareVO[] squarevos, ClientLink clink) throws Exception {
		IEstimate bo = (IEstimate) NCLocator.getInstance().lookup(beanName1);
		bo.batchHandEstimate(squarevos, clink);
	}

	public static void batchCancelHandEstimate(SquareVO[] squarevos, ClientLink clink) throws Exception {
		IEstimate bo = (IEstimate) NCLocator.getInstance().lookup(beanName1);
		bo.batchCancelHandEstimate(squarevos, clink);
	}

	public static SquareTotalVO[] queryHandEstimate(String sWhere) throws Exception {
		IEstimateQuery bo = (IEstimateQuery) NCLocator.getInstance().lookup(beanName);
		return bo.queryHandEstimate(sWhere);
	}

	public static SquareTotalVO[] queryCancelHandEstimate(String sWhere) throws Exception {
		IEstimateQuery bo = (IEstimateQuery) NCLocator.getInstance().lookup(beanName);
		return bo.queryCancelHandEstimate(sWhere);
	}

	public static Boolean isBizConfigHandEstimate(String pk_corp,String cbiztype) throws Exception {
		/*IRegisterCost bo = (IEstimateQuery) NCLocator.getInstance().lookup(beanName);
		return bo.isBizConfigRegister(pk_corp,cbiztype);*/
		return null;
	}

}
